package com.zmc.coupon.enums;

import lombok.Getter;

/**
 * @Author：zmc
 * @Date：2024/12/5 12:13
 */

@Getter
public enum CouponEnum {

    COUPON_TYPE_ALL(0,"全场赠卷"),
    COUPON_TYPE_MEMBER(1,"会员赠卷"),
    COUPON_TYPE_SHOPPING(2,"购物赠卷"),
    COUPON_TYPE_REGISTER(3,"注册赠卷"),


    COUPON_MEMBER_LEVEL_ALL(0,"不限等级"),
    COUPON_MEMBER_LEVEL_OTHER(1,"其它等级"),

    COUPON_USE_TYPE_ALL(0,"全场通用"),
    COUPON_USE_TYPE_CATEGORY(1,"指定分类"),
    COUPON_USE_TYPE_GOODS(2,"指定商品"),

    COUPON_IS_NOT_PUBLISH(0,"未发布"),
    COUPON_IS_PUBLISH(1,"已发布"),

    COUPON_GET_TYPE_GIVE(0,"后台赠送"),
    COUPON_GET_TYPE_GET(1,"主动领取"),

    COUPON_USE_TYPE_NOT_USE(0,"未使用"),
    COUPON_USE_TYPE_HAS_USED(1,"已使用"),
    COUPON_USE_TYPE_EXPIRE(2,"已过期"),

    ;


    private final int code;

    private final String msg;

    CouponEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
